package com.atguigu.gmall.list.client;

import com.atguigu.gmall.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "service-list")
public interface ListFeignClient {

    //更新热度
    @GetMapping("/api/list/hotScore/{skuId}")
    public Result hotScore(@PathVariable Long skuId);

}
